<?php 
include_once 'inc/config.inc.php';
include_once 'inc/mysql.inc.php';
include_once 'inc/tool.inc.php';
$link=connect();
/*if($member_id=is_login($link)){
	skip('index.php','error','你已经登录，请不要重复登录！');
}*/
if (setcookie($_COOKIE['sfk']['name']) && $_COOKIE['sfk']['pw']) {
	setcookie('sfk[name]','',time()-3600);
	setcookie('sfk[pw]','',time()-3600);
    unset($_COOKIE['sfk']);
}
skip($_SERVER["HTTP_REFERER"],'ok','注销成功');
